#ifndef __MoTalkWindows_H__
#define __MoTalkWindows_H__
#include "vmsys.h"
#include "../Framework/GuiEvent.h"
#include "../Framework/FWindows.h"

enum
{
	USER_WIN_ID_START = SYSTEM_WIN_ID_END + 1,
	USER_WIN_ID_LOGIN,
	USER_WIN_ID_CONTACT,
	USER_WIN_ID_CHAT,
	USER_WIN_ID_ADD,
	USER_WIN_ID_SETTING,
	USER_WIN_ID_HELP,
	
	USER_WIN_ID_END
};

struct login_control_point
{
	struct gui_point rc_logo;
	struct gui_point rc_ed_user;
	struct gui_point rc_ed_pass;
};

enum login_touch_control
{
	LOGIN_CONTROL_START = 0,
	LOGIN_EDITBOX_USER = LOGIN_CONTROL_START,
	LOGIN_EDITBOX_PASS,

	LOGIN_SOFTKEY_LEFT,
	LOGIN_SOFTKEY_CENTER,
	LOGIN_SOFTKEY_RIGHT,
	
	LOGIN_CONTROL_END
};

struct all_control_point
{
	struct login_control_point login_ui;
};

extern struct all_control_point MoTalk_UI;

extern void MoTalkInitUI(void);

extern void MoTalkInitAllWinows(void);
extern void MoTalkDrawAllWindows(void);
extern void MoTalkFreeAllWinows(void);
#endif
